package com.kfm.pm;

public class Dog extends Pet {
    // Dog is a Pet  Dog 是子类  Pet 是父类 子类是对于父类的扩展

    private String lookHouse;

    public Dog() {
    }

    public Dog(String name, int age, String color, double weight, String voice, String lookHouse) {
        super(name, age, color, weight, voice);
        this.lookHouse = lookHouse;
    }


    public void lookingHouse() {
        System.out.println("狗狗看家");
    }



}
